home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / software-center.postrm < prev    next >
Text File  |  2009-10-26  |  430b  |  20 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # remove database files from the old location 
  6. # (it was named software-store for some weeks)
  7. if [ -d /var/cache/software-store/xapian/ ]; then
  8.     rm -f /var/cache/software-store/xapian/*
  9.     rmdir /var/cache/software-store/xapian/ || true
  10. fi
  11.  
  12. if [ "$1" = "purge" ]; then
  13.     # remove the cached application data
  14.     rm -f /var/cache/software-center/xapian/*
  15.     rmdir /var/cache/software-center/xapian/
  16. fi
  17.  
  18.  
  19.  
  20.